<template>
  <router-view></router-view>
  <Main></Main>
</template>

<script setup>
import {useRoute, useRouter} from "vue-router"
import Main from "@/views/index.vue"
import {onMounted} from "vue"
import emitter from "@/utils/bus"
const route = useRoute()
const router = useRouter()
onMounted(()=>{
  emitter.emit('updateActive', 2)
})
</script>

<style scoped lang="less">

</style>